@charset "UTF-8";
@import './variables.module.scss';
@import './transition.scss';
@import './mixin.scss';
@import './sidebar.scss';
@import './menus.scss';
@import './btn.scss';
@import './transition.scss';
@import './elementplus.scss';
@import './public.scss';

*,
*:before,
*:after {
  box-sizing: inherit;
}
// 重置边距
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,textarea,p,blockquote,th,td,hr,button,article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section {
  margin:0;
  padding:0;
}
h1,h2,h3,h4,h5,h6 {
  font-size:100%;
  font-weight:500;
}

ul,li{
  list-style: none;
}

body {
  margin: 0;
  height: 100%;
  background-color: #F5F8FB;
}

html {
  height: 100%;
}

#app {
  height: 100%;
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow: hidden;
}

.container {
  // background: #fff;
  // box-shadow: 0px 2px 8px 0px rgba(0, 0, 0, 0.1);
  // border-radius: 8px;
  // padding: 20px;
  height: 100%;
  width: 100%;
  font-size: 14px;
  .page-main {
    padding: 20px;
    border-radius: 4px;
    // box-shadow: 0px 0px 4px 0px rgba(46, 105, 235, 0.17);
    box-shadow: 0px 2px 6px 0px rgba(0, 0, 0, 0.25);
    border-top-left-radius: 0;
    background: linear-gradient(180deg, #FFFFFF 0%, #FFFFFF 100%);
    height: calc(100% - 48px);
    overflow: auto;
  }
}


.no-padding {
  padding: 0px !important;
}

.padding-content {
  padding: 4px 0;
}

a:focus,
a:active {
  outline: none;
}

a,
a:focus,
a:hover {
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}

div:focus {
  outline: none;
}

.fr {
  float: right;
}

.fl {
  float: left;
}

.pr-5 {
  padding-right: 5px;
}

.pl-5 {
  padding-left: 5px;
}

.block {
  display: block;
}

.pointer {
  cursor: pointer;
}

.inlineBlock {
  display: block;
}

.clearfix {
  &:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
  }
}

.card-title {
  margin: 0;
  padding-left: 18px;
  height: 31px;
  font-size: 16px;
  line-height: 32px;
  background: linear-gradient(309deg, #668AFF 0%, #668AFF 100%, #668AFF 100%);
  background-size: 6px 18px;
  background-repeat: no-repeat;
  background-position: left;
}

.el-dialog.translucence-dialog {
  background: rgba(255, 255, 255, 0.9);
}

/**
  审批中 tag样式 
  add by tianshu
  2021年05月10日
*/
.approving-tag {
  color: #527DFF;
  height: 20px;
  line-height: 20px;
  background: rgba(82, 125, 255, 0.1);
  border-radius: 2px;
  border: 1px solid rgba(82, 125, 255, 0.8);
}

/**
所有表单、搜索中的input
add by tianshu
2021年05月10日
*/
.el-input.custom-form-input,
.el-select.custom-form-input,
.el-cascader.custom-form-input,
.el-textarea.custom-form-input {

  .el-input__inner,
  .el-textarea__inner {
    height: 48px !important;
    line-height: 1.8em !important;
    border-color: #f2f3f5 !important;
    background: #f2f3f5 !important;
  }

  .el-select__tags .el-tag {
    background-color: #fff;
  }
}

.el-date-editor.custom-form-input.el-input__inner {
  height: 48px !important;
  line-height: 48px !important;
  border-color: #f2f3f5 !important;
  background: #f2f3f5 !important;
}

.el-date-editor.el-range-editor--mini.custom-form-input.el-input__inner {
  height: 28px !important;
  line-height: 28px !important;
  border-color: #f2f3f5 !important;
  background: #f2f3f5 !important;
}

.el-range-editor--mini.custom-form-input .el-range-input {
  background-color: #f2f3f5;
  width: 80px;
}

.el-range-editor--mini.custom-form-input .el-range-separator {
  width: 8%;
}

.el-cascader.el-select--mini.custom-form-input,
.el-select.el-select--mini.custom-form-input {
  .el-input__inner {
    height: 28px !important;
    line-height: 28px !important;

  }
}

.tooMore {
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  word-break: break-all;
}

.el-dialog__body {
  padding: 20px !important;
}

.add-button {
  display: inline-block;
  width: 120px;
  height: 36px;
  line-height: 36px;
  background: #ffffff;
  border-radius: 4px;
  border: 1px dashed #c0c4cc;
  font-size: 14px;
  text-align: center;
  cursor: pointer;

  img {
    vertical-align: middle;
    position: relative;
    top: -2px;
  }
}

.button-submit {
  background: #527dff;
  height: 32px;
  min-height: 32px;
  padding: 8px 20px;
}

.el-button {
  padding: 10px 20px;
}

.el-button--text {
  padding-left: 0;
  padding-right: 0;
}

.el-input {
  .el-input__inner {
    height: 36px;
  }

  .el-input__icon {
    line-height: 36px;
  }
}
// 时间组件同高
.el-range-editor.el-input__inner{
  height: 36px;
}
.el-input--mini {
  line-height: 28px;

  .el-input__inner {
    height: 28px;
  }
}

.el-pagination .btn-next .el-icon,
.el-pagination .btn-prev .el-icon {
  margin: 0 auto;
}

.el-dialog {
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0px 2px 12px 0px rgba(0, 0, 0, 0.1);
  border-radius: 4px;
}

.input {
  max-width: 200px;
  margin-right: 10px;
  &.last{
    margin-right: 20px;
  }
}

.table-container {
  height: calc(100% - 120px);
  margin-top: 16px;
}
// 自定义控件属性
:root {
  --el-color-primary: #2E69EB;
}


.el-drawer__body {
  border-top: 1px solid rgba(231, 234, 241, 1);
}